let bcrypt = require("bcrypt")

module.exports = {
  hashSync: password => {
    return bcrypt.hashSync(password, 10)
  },
  compareSync: (password, hash) => bcrypt.compareSync(password, hash)
}